package com.ruoyi.projectmanage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目管理对象 xzk_project_manage
 * 
 * @author ruoyi
 * @date 2021-04-02
 */
public class XzkProjectManage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 项目主键 */
    private Long projectid;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectname;

    /** 课程类型 */
    @Excel(name = "课程类型")
    private String coursetype;

    /** 年级名称 */
    @Excel(name = "年级名称")
    private String gradename;

    /** 教学老师姓名 */
    @Excel(name = "教学老师姓名")
    private String teachername;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date begintime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endtime;

    /** 项目状态 */
    @Excel(name = "项目状态")
    private Long projectstate;

    /** 项目描述 */
    @Excel(name = "项目描述")
    private String projectintro;

    public void setProjectid(Long projectid) 
    {
        this.projectid = projectid;
    }

    public Long getProjectid() 
    {
        return projectid;
    }
    public void setProjectname(String projectname) 
    {
        this.projectname = projectname;
    }

    public String getProjectname() 
    {
        return projectname;
    }
    public void setCoursetype(String coursetype) 
    {
        this.coursetype = coursetype;
    }

    public String getCoursetype() 
    {
        return coursetype;
    }
    public void setGradename(String gradename) 
    {
        this.gradename = gradename;
    }

    public String getGradename() 
    {
        return gradename;
    }
    public void setTeachername(String teachername) 
    {
        this.teachername = teachername;
    }

    public String getTeachername() 
    {
        return teachername;
    }
    public void setBegintime(Date begintime) 
    {
        this.begintime = begintime;
    }

    public Date getBegintime() 
    {
        return begintime;
    }
    public void setEndtime(Date endtime) 
    {
        this.endtime = endtime;
    }

    public Date getEndtime() 
    {
        return endtime;
    }
    public void setProjectstate(Long projectstate) 
    {
        this.projectstate = projectstate;
    }

    public Long getProjectstate() 
    {
        return projectstate;
    }
    public void setProjectintro(String projectintro) 
    {
        this.projectintro = projectintro;
    }

    public String getProjectintro() 
    {
        return projectintro;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("projectid", getProjectid())
            .append("projectname", getProjectname())
            .append("coursetype", getCoursetype())
            .append("gradename", getGradename())
            .append("teachername", getTeachername())
            .append("begintime", getBegintime())
            .append("endtime", getEndtime())
            .append("projectstate", getProjectstate())
            .append("projectintro", getProjectintro())
            .toString();
    }
}
